package cn.wolfcode.wolf2w.domain;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.validation.constraints.Size;
import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@Document("visitor")
@ToString
public class Visitor extends BaseDomain{

    private int totalView;  //累计访问数

    private String ownerId;  // 个人中心的id（访问谁就是谁的id）

    private List<String> visitorIds = new ArrayList<>(); //存储访客id集合


}
